home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
qtools.arc
/
QCP208.ARC
/
COMPILE.BAT
next >
Wrap
DOS Batch File
|
1990-08-24
|
718b
|
23 lines
echo off
if NOT "%1" == "" goto start
echo.
echo Usage: %0 filename [ options.... ]
echo.
echo Where: filename is the file to compile. QCP will decide which
echo compiler to use based on the extension of the filename.
echo options (up to 9) are passed to the compiler command line.
echo.
goto end
:start
rem NOTE: Again, the filenames here are forced to the current directory
rem by using ".\". Your RAM disk would be a better choice.
shift
qcp /B+ /O.\errors.lst /M.\errors.mac %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 128 goto end
if NOT errorlevel 1 goto okcompile
q .\errors.lst -e.\errors.mac -l.\errors.mac
goto end
:okcompile
type .\errors.lst
:end